<template>
	<div>
		<section class="constract">
			<iframe id="iframe" :src=src frameborder="0"></iframe>
		</section>
	</div>
</template>
<script>
	import {
		mapState,
	} from 'vuex'
	export default {
		data() {
			return {
				src: ''
			}
		},
		computed: {
			...mapState(['userInfo'])
		},
		methods: {

		},
		created() {
			this.src = this.userInfo.hosturl + '/IOSApi/xieyi?v=10'
		},
		mounted() {

		},
		activated() {}
	}

</script>
<style lang="scss" scoped>
	iframe {
		position: absolute;
		height: 100%;
		width: 92%;
		left: 4%;
	}

	.constract {
		padding: 0.4rem 0.5rem;
		text-align: left;
	}

</style>
